<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>公告分类列表 - Powered By Betou</title>
<meta name="author" content="Betou Team" />
<meta name="copyright" content="Betou" />
<#include "../../head_list.html"/>
<script type="text/javascript">
$().ready(function() {
	<#if count==0>$.message("warn", "暂无数据！");</#if>
});
</script>
</head>
<body class="content">
	<div class="path">
		<a href="../index.jspx">首页</a> &raquo;公告分类列表 <span>(共<span id="pageTotal">${count!0}</span>条记录)</span>
	</div>
	<form id="listForm" class="clearfix" action="v_list.jspx" method="post">
		<div class="bar">
			<a href="v_add.jspx" class="iconButton"><span class="addIcon">&nbsp;</span>添加</a>
			<div class="buttonWrap">
				<a href="javascript:;" id="deleteButton" class="iconButton disabled"><span class="deleteIcon">&nbsp;</span>删除</a>
				<a href="javascript:;" id="refreshButton" class="iconButton"><span class="refreshIcon">&nbsp;</span>刷新</a>
			</div>
			<div class="menuWrap">
				<div class="search">
					<span id="searchPropertySelect" class="arrow">&nbsp;</span>
					<input type="text"  id="searchValue" name="searchValue" value="${searchValue!}" maxlength="200" />
					<button type="submit">&nbsp;</button>
				</div>
				<div class="popupMenu">
					<ul id="searchPropertyOption">
						<li><a href="javascript:;" val="name">名称</a></li>
					</ul>
				</div>
			</div>
		</div>
		<table id="listTable" class="list">
			<tr>
				<th class="check"><input type="checkbox" id="selectAll" /></th>
				<th><a href="javascript:;" class="sort" name="name">名称</a></th>
				<th><span>描述</span></th>
				<th><span>标识符</span></th>
				<th><span>操作</span></th>
			</tr>
			<#list list as c>
				<tr>
					<td>
						<#if c.identity??>
							<input type="checkbox" name="disabled"  disabled title="该分类不可进行删除，删除将会造成系统的不稳定" />
						<#else>
							<input type="checkbox" name="ids" value="${c.id!}" />
						</#if>
					</td>	
					<td>${c.name!}</td>
					<td><span title="${c.description!}">${c.description!}</span></td>	
					<td><span class="green">${c.identity!}</span></td>
					<td><a href="v_edit.jspx?id=${c.id!0}">[编辑]</a></td>
				</tr>
			</#list>
		</table>
		<#include "../../list_hidden.html" />
	</form>
	<#include "../../footer.html"/>
</body>
</html>